﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="News.aspx.cs" Inherits="Import_cpdb_News" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>新闻类型匹配</div>
    <div class="button_bar">
        <input id="btnAdd" value="添加" type="button" onclick="document.location='NTypeLink.aspx'" class="common_button" />
        <input id="btnImportAll" value="导入全部" style="width:80px" type="button" onclick="document.location='ImportNews.aspx?flag=all'" class="common_button" />
    </div>
    <div>
         <table class="data_list_table">
            <tr>
                <th class="style1">
                    <input id="cbkAll" type="checkbox" />
                    全选
                </th>
                <th>
                    本地类型
                </th>
                <th>
                    巨潮类型 
                </th>
                <th>
                    修改时间 
                </th>
                <th>
                    导入时间
                </th>
                <th>操作
                </th>
            </tr>
                        <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
            <tr>
                 <td class="list_data_number">
                     <input name="select"  type="checkbox" tt="aa" id="select" />
                 </td>
                 <td class="list_data_text">
                         <%# Eval("LocalTypeName")%>
                 </td>
                 <td class="list_data_text">
                      <%# Eval("CpTypeName")%>
                 </td>
                 <td class="list_data_text">
                    <%# Eval("CTime")%>
                 </td>
                 <td class="list_data_text">
                      <%# Eval("UTime")%>
                 </td>
                 <td>
                     <a href='ImportNews.aspx?LocalTypeId=<%# Eval("LocalTypeId")%>&CpTypeId=<%# Eval("CpTypeId")%>'>
                                <img src="../../images/bt_feedback.gif" alt="导入新闻" title="导入新闻" /></a> <a href='delete.aspx?LocalTypeId=<%# Eval("LocalTypeId")%>&CpTypeId=<%# Eval("CpTypeId")%>'
                                    onclick="return confirm('确定删除？')">
                                    <img src="../../images/bt_del.gif" alt="删除" />
                      </a>
                 </td>
            </tr>
            </ItemTemplate>
            </asp:Repeater>
         </table>
    </div>
    </form>
</body>
</html>
